package com.jiangdong.craft.service;

import com.jiangdong.craft.dto.ResponseDTO;
import com.jiangdong.craft.entity.Craft;

import java.util.List;

public interface CraftService {

    ResponseDTO add(Craft craft);

    ResponseDTO delById(Integer id);

    ResponseDTO<Craft> queryById(Integer id, Integer isProcedure);

    ResponseDTO<List<Craft>> comprehensiveQuery(Integer p,Integer pageSize,String keyWord, String createTime);
}
